import Vue from 'vue'

import Vuex from 'vuex'

Vue.use(Vuex)

import home from '@/store/home'
import search  from '@/store/search'
import detail from '@/store/Detail'
import shopCart from '@/store/shopCart'
import user  from '@/store/user'
import trade from '@/store/Trade'

export default new Vuex.Store({
    modules:{
        home,
        search,
        detail,
        shopCart,
        user,
        trade
    }
})